package com.xs.jmb2c.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.xs.jmb2c.dto.MemberBindAccountDTO;
import com.xs.jmb2c.dto.MemberLoginDTO;
import com.xs.jmb2c.dto.MemberRegisterDTO;
import com.xs.jmb2c.dto.MemberUpdatePasswordDTO;
import com.xs.jmb2c.entity.Member;
import com.xs.jmb2c.vo.MemberInfoVO;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author root
 * @since 2025-07-01
 */
public interface MemberService extends IService<Member> {

    String login(MemberLoginDTO memberLoginDTO);

    MemberInfoVO info();

    void updatePassword(MemberUpdatePasswordDTO memberUpdatePasswordDTO);

    Member register(MemberRegisterDTO memberRegisterDTO);

    void bindPhoneOrEmailOrOpenId(MemberBindAccountDTO memberBindAccountDTO);
}
